<?php

namespace App\Consts;

/**
 * 命令行场景值
 * Class GlobalConsoleConst
 * @package App\Consts
 */
class GlobalConsoleConst
{
    // driver type
    public const DRIVER_TYPE_QUEUE = 'queue';
    public const DRIVER_TYPE_BATCH = 'batch';
    public const DRIVER_TYPE_SYNC = 'sync';

    // library file
    public const LIBRARY_FILE_CREATE = 'create';

    // log login
    public const LOG_LOGIN_ADD = 'add';

    // log spider
    public const LOG_SPIDER_ADD = 'add';

    // message
    public const MESSAGE_COUNT_CLEAN = 'clean';

    // package
    public const PACKAGE_SYNC_TARGET_COUNT = 'syncTargetCount';

    // relationship
    public const RELATIONSHIP_COUNT = 'count';

    // upload
    public const UPLOAD_LOG = 'log';
    public const UPLOAD_LOG_REPLACE_RESOURCES = 'logReplaceResources';

    // user
    public const USER_EDIT_ADDR = 'editAddress';
    public const USER_REPAIR_AVATAR = 'repairRecommendAvatar';

    // user recommend
    public const USER_RECOMMEND_AVATAR_AREA = 'avatarArea';

    // article
    public const REPAIR_ARTICLE_SRC = 'runs';
    public const ARTICLE_IMAGE_MAP = 'saveImgMap';
}
